import service from "./request";

export function user_login(params = {}) { //登录
    return service.post('/user/login', params)
}

export function user_register(params = {}) { //注册
    return service.post('/user/register', params)
}

export function shop_list(params = {}) { //首页列表
    return service.get('/shop/list', { params })
}

export function shop_info(params = {}) {
    return service.get('/shop/shopinfo', { params }) //详情页
}

export function tuan_list(params = {}) {
    return service.get('/tuan/list', { params }) //爆爆团
}